package com.prj.ufdm.web.controller;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestControll {
	
	private static final Logger logger = LoggerFactory.getLogger(TestControll.class);

	/**
	@Autowired
	private RepositoryService repositoryService;
	
	@Autowired
	private RuntimeService runtimeService;

	@Autowired
	private TaskService taskService;
	*/

    
    @GetMapping("/test")
    public String getPostList(String deployId) throws Exception {
    	
    	System.out.println("\n deployId:"+deployId);
    	/**
    	ProcessDefinition  pd = repositoryService.createProcessDefinitionQuery().deploymentId(deployId).singleResult();
		
    	System.out.println("\n ProcessDefinition Id:"+pd.getId());
    	*/
    	
    	return "123";
    	
    }
}
